#ifndef _LIGHT_H
#define _LIGHT_H

class GLLightSetting
{
public:

        GLfloat ambient[4];
        GLfloat diffuse[4];
        GLfloat specular[4];

        GLfloat ambientFancyBack[4];
        GLfloat diffuseFancyBack[4];
        GLfloat specularFancyBack[4];

        GLfloat ambientFancyFront[4];
        GLfloat diffuseFancyFront[4];
        GLfloat specularFancyFront[4];

        GLLightSetting()
        {
                // defaults
                ambient[0] = 0.0f;
                ambient[1] = 0.0f;
                ambient[2] = 0.0f;
                ambient[3] = 1.0f;

                diffuse[0] = 0.8f;
                diffuse[1] = 0.8f;
                diffuse[2] = 0.8f;
                diffuse[3] = 1.0f;

                specular[0] = 1.0f;
                specular[1] = 1.0f;
                specular[2] = 1.0f;
                specular[3] = 1.0f;
/*
                ambient[0] = 0.2f;
                ambient[1] = 0.2f;
                ambient[2] = 0.2f;
                ambient[3] = 1.0f;

                diffuse[0] = 0.8f;
                diffuse[1] = 0.8f;
                diffuse[2] = 0.8f;
                diffuse[3] = 1.0f;

                specular[0] = 1.0f;
                specular[1] = 1.0f;
                specular[2] = 1.0f;
                specular[3] = 1.0f;
  */
                ambientFancyBack[0] = 0.0f;
                ambientFancyBack[1] = 0.0f;
                ambientFancyBack[2] = 0.0f;
                ambientFancyBack[3] = 1.0f;

                diffuseFancyBack[0] = 1.0f;
                diffuseFancyBack[1] = 0.7f;
                diffuseFancyBack[2] = 0.7f;
                diffuseFancyBack[3] = 1.0f;

                specularFancyBack[0] = 1.0f;
                specularFancyBack[1] = 1.0f;
                specularFancyBack[2] = 1.0f;
                specularFancyBack[3] = 1.0f;

                ambientFancyFront[0] = 0.0f;
                ambientFancyFront[1] = 0.0f;
                ambientFancyFront[2] = 0.0f;
                ambientFancyFront[3] = 1.0f;

                diffuseFancyFront[0] = 0.7f;
                diffuseFancyFront[1] = 0.7f;
                diffuseFancyFront[2] = 1.0f;
                diffuseFancyFront[3] = 1.0f;

                specularFancyFront[0] = 1.0f;
                specularFancyFront[1] = 1.0f;
                specularFancyFront[2] = 1.0f;
                specularFancyFront[3] = 1.0f;
        }
};

#endif // _LIGHT_H
